package com.baidu.health.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 方案内容
 * @TableName tb_case_content
 */
@TableName(value ="tb_case_content")
public class TbCaseContent implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 方案图片
     */
    private String pic;

    /**
     * 方案内容
     */
    private String content;

    /**
     * 方案类型id
     */
    private Integer typeid;

    /**
     * 方案id
     */
    private Integer caseid;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date starttime;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    /**
     * 状态
     */
    private Integer deleted;

    @TableField(exist = false)
    private Integer current;
    @TableField(exist = false)
    private Integer pagesize;

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPagesize() {
        return pagesize;
    }

    public void setPagesize(Integer pagesize) {
        this.pagesize = pagesize;
    }

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 方案图片
     */
    public String getPic() {
        return pic;
    }

    /**
     * 方案图片
     */
    public void setPic(String pic) {
        this.pic = pic;
    }

    /**
     * 方案内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 方案内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 方案类型id
     */
    public Integer getTypeid() {
        return typeid;
    }

    /**
     * 方案类型id
     */
    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    /**
     * 方案id
     */
    public Integer getCaseid() {
        return caseid;
    }

    /**
     * 方案id
     */
    public void setCaseid(Integer caseid) {
        this.caseid = caseid;
    }

    /**
     * 创建时间
     */
    public Date getStarttime() {
        return starttime;
    }

    /**
     * 创建时间
     * @param starttime
     */
    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    /**
     * 修改时间
     */
    public Date getUpdatetime() {
        return updatetime;
    }

    /**
     * 修改时间
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    /**
     * 状态
     */
    public Integer getDeleted() {
        return deleted;
    }

    /**
     * 状态
     */
    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
}